package com.haogu.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.sql.Date;

@Data
public class User implements Serializable {
    private static final long serialVersionUID = 4087705946051006185L;
    private Integer id;
    private String password;
    private String phone;
    private String pri;
    private String nickName;
    private String sex;
    @JsonFormat(shape = JsonFormat.Shape.NATURAL)
    private Date birthday;
    private String signature;
    private String area;
    private Integer status;
    @JsonFormat(shape = JsonFormat.Shape.NATURAL)
    private Date createTime;
    @JsonFormat(shape = JsonFormat.Shape.NATURAL)
    private Date updateTime;
}
